use serde::Serialize;
use sqlx::FromRow;

#[derive(FromRow, Serialize, Debug)]
pub struct Paper {
    pub id: String,
    pub title: String,
    pub author: String,
    #[sqlx(rename = "abstract")]
    pub abstract_: String,
}